package com.ssm.zhihu_ssm.dao;


import com.ssm.zhihu_ssm.entity.QuestionAnswerList;
import com.ssm.zhihu_ssm.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface FollowDao {

    int[] findFollowID(int id);//关注人的id
//    User  findFollowUser(List<String> user);

    int[] AttentionFollowID(int id);//被关注人的id


    List<QuestionAnswerList> findFollowQuestion(int id);//找到关注的所有文章

}
